package com.longge;

public class IsSameAfterReversals {

    public boolean isSameAfterReversals(int num) {
        String s = String.valueOf(num);
        return !(s.length() > 1 && s.endsWith("0"));
    }

}
